package com.company;

public class Dog extends Animal{
    public Dog(String myName, int myId) {
        super(myName, myId);
    }

    @Override
    public void sleep() {
        super.sleep();
    }

    @Override
    public void introduce() {
        super.introduce();
    }

    @Override
    public void eat() {
        super.eat();
    }

    public static void main(String[] args) {
        Dog dog = new Dog("tommy", 100);
        dog.introduce();
        dog.sleep();
        dog.eat();
    }
}
